a = [3, 4, 6, 8, 10]
b = [1, 3, 6, 9]
print(list(set(a) & set(b)))
print(list(set(a) - set(b)))
